package be.jhd.appserver.weblogic.deployer.command;

import be.jhd.appserver.AbstractCommand;
import be.jhd.appserver.weblogic.command.WeblogicConfig;

public abstract class DeployerCommand extends AbstractCommand {
	
	@Override
	protected final void addParameters(WeblogicConfig config) {
		add("verbose");
		add("noexit");
		add("adminurl", config.getAdminUrl());
		add("user", config.getUser());
		add("password", config.getPassword());
		_addParameters(config);
	}
	
	protected abstract void _addParameters(WeblogicConfig config);
	
}
